#ifndef IMAGEPROVIDER_H
#define IMAGEPROVIDER_H

#include <QQuickImageProvider>

class ImageProvider:public QQuickImageProvider
{
public:
    ImageProvider();

public:
    virtual QImage requestImage(const QString &id,QSize *size,const QSize &requestedSize) override; //重写函数

public:
    QImage m_imgQ;
};

#endif // IMAGEPROVIDER_H
